/* alarm */
<template xlang="wxml">
  <van-tabs
    :active="active "
    custom-class="van-tabs"
    :sticky="true"
    :offset-top="0"
    color="#1989fa"
    :lazy-render="true"
  >
    <van-tab title="告警统计">
      <bar></bar>
      <MyTotal></MyTotal>
      <bar></bar>
      <SearchTotal></SearchTotal>
      <MyEchart></MyEchart>
    </van-tab>
    <van-tab title="告警列表" tab-class="van-tab">
      <View>
        <bar></bar>
        <MySearch></MySearch>
        <List></List>
      </View>
    </van-tab>
  </van-tabs>
</template>

<script>
import bar from "@/components/bar.vue";
import List from "./components/list.vue";
import MySearch from "./components/search.vue";
import SearchTotal from "./components/searchTotal.vue";
import MyTotal from "./components/total.vue";
import MyEchart from "./components/echart";
export default {
  components: {
    bar,
    MySearch,
    List,
    MyTotal,
    MyEchart,
    SearchTotal
  },
  data: () => ({
    active: 0
  }),
  methods: {},
  computed: {},
  watch: {}
};
</script>

<style lang="less" scoped>
</style>